package cn.tj212.xiaoyin.core.user.dao;

import cn.tj212.xiaoyin.common.page.TailPage;
import cn.tj212.xiaoyin.core.user.domain.UserCollections;

import java.util.List;

public interface UserCollectionsDao {
    UserCollections getById(Long id);

    List<UserCollections> queryAll(UserCollections queryEntity);

    Integer getItemsTotalCount(UserCollections queryEntity);

    List<UserCollections> queryPage(UserCollections queryEntity, TailPage<UserCollections> page);

    void createSelectivity(UserCollections entity);

    void update(UserCollections entity);

    void updateSelectivity(UserCollections entity);

    void delete(UserCollections entity);

    void deleteLogic(UserCollections entity);
}
